]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
TelepathyClient: fix regression from 6f5b700833305f455f3397f52baab11f69ec77d1
authorGiovanni Campagna <gcampagna@src.gnome.org>
Fri, 14 Sep 2012 16:15:51 +0000 (18:15 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Fri, 14 Sep 2012 16:29:47 +0000 (18:29 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=684035

js/ui/components/telepathyClient.js

index b1db3c6f0a37fc874054dbffbb2ce7639e3b5a82..42317065e2947d238d5ec32cf5ac332be1c2f3bd 100644 (file)
@@ -488,7 +488,7 @@ const ChatSource = new Lang.Class({
         let rightClickMenu = this.parent();
         item = new PopupMenu.PopupMenuItem('');
         item.actor.connect('notify::mapped', Lang.bind(this, function() {
-            item.label.set_text(source.isMuted ? _("Unmute") : _("Mute"));
+            item.label.set_text(this.isMuted ? _("Unmute") : _("Mute"));
         }));
         item.connect('activate', Lang.bind(this, function() {
             this.setMuted(!this.isMuted);